<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>监督受理</title>
<script type="text/javascript">
	$(document).ready(
			function() {
				$("#idea").focus();
				$("#materialDate").addClass("Wate").bind("focus", function() {
					WdatePicker({
						skin : 'whyGreen',
						dateFmt : 'yyyy-MM-dd'
					});
				});
				$("#inputForm").validate({
					event : "blur",
					isTip : true
				});

				var date = new Date();
				$.get(
						"${ctx}/business/history/history!info.action?key=${id}&time="
								+ date, function(data) {
							$("#frame").html(data);
						});
			});
	function close() {
		$.window.closeAll();
	}
</script>
</head>
<body>
	<form action="${ctx }/business/application!save.action" method="post"
		id="inputForm" class="yform">
		<input type="hidden" name="id" id="id" value="${id }">
		    <input type="hidden" name="taskid" id="taskid" value="${(empty taskid)?taskId : taskid}">
			<input type="hidden" name="taskId" id="taskId" value="${(empty taskid)?taskId : taskid}"> 
			<input type="hidden" name="projectId" id="projectId" value="${projectId}">
			<input type="hidden" name="status" id="status" value="06">
			<div id="caption"><h6>审核记录</h6></div>
			<div id="frame"></div>
			<div id="caption"><h6>现场核查</h6></div>
		<div id="tabs">
			<div id="tabs-2">
				<table class="noborder">
					<tr class="type-text">
						<td>项目名称</td>
						<td>${projectInfo.projName }</td>
					</tr>
					<tr class="type-text">
						<td>单位名称</td>
						<td><pt:labels type="org" argument1="${orgId }" single="true"></pt:labels>
						</td>
					</tr>
					<tr class="type-text">
						<td>资料齐全程度</td>
						<td>${rating }</td>
					</tr>
					<tr class="type-text">
						<td>资料补全时间</td>
						<td><fmt:formatDate value="${materialDate}"
								pattern="yyyy-MM-dd" /></td>
					</tr>
					<tr class="type-text">
						<td>受理编号</td>
						<td>${acceptionCode }</td>
					</tr>
					<tr class="type-text">
						<td>资料缺乏情况</td>
						<td>${levelContent }</td>
					</tr>
					<tr class="type-text">
						<td>备注</td>
						<td>${remark }</td>
					</tr>
				</table>
			</div>
			<div id="caption">
			<h6>填写现场核查负责人审核意见</h6>
		</div>
			<div>
				<table class="noborder">
					<tr class="type-text">
						<td width="80">审核意见</td>
						<td><textarea name="view" id="view" rows="3"></textarea>
						</td>
					</tr>
				</table>
			</div>
			<div class="type-button">
				<input type="submit" class="submit" value="提交" onclick="return isProcess();"/>
				<a
				href="javascript:showWindow('查看申请资料','${ctx}/business/appl/petition!input.action?projectId=${projectId}&fid=${id}&decorator=open&confirm=true')">查看申请书</a>
		</div>
		</div>
	</form>
</body>
</html>